<template>
	<view>
		<view>
			<comment :tagList="tagList" :commentList="commentList"/>
		</view>
	</view>
</template>

<script>
	import comment from '@/components/comment'
	import {
		getUser
	} from '@/utils/api'
	export default {
		data() {
			return {
				title: 'Hello',
				show: false,
				tagList: ['态度好', '亲和力强', '医术精湛', '认真负责', '疗效好'],
				characters: [
				  "萧炎",
				  "药老",
				  "宁缺",
				  "薰儿",
				  "萧玄",
				  "林动",
				  "唐三",
				  "若熙",
				  "火灵儿",
				  "姬烟"
				],
				commentList: [
					{
						imgUrl: 'https://picsum.photos/100',
						userName: '火灵儿',
						createTime: '2024.02.28',
						content: '金主任医术精湛、医德高尚。会认真仔细询问病情病史，并给到患者全套解决方案。针灸下针稳准快。'
					},
					{
						imgUrl: 'https://picsum.photos/100',
						userName: '若熙',
						createTime: '2024.02.28',
						content: '金主任医术精湛。会认真仔细询问病情病史，并给到患者全套解决方案。针灸下针稳准快。'
					},
					{
						imgUrl: 'https://picsum.photos/100',
						userName: '萧炎',
						createTime: '2024.02.28',
						content: '金主任医术精湛、医德高尚。并给到患者全套解决方案。针灸下针稳准快。'
					}
				]
			}
		},
		components: {
		    comment
		},
		onLoad() {
			this.test2()
		},
		methods: {
			async test2(param) {
				console.log("test2=======000=====", param);
				let res = await getUser()
				
			},
			
		}
	}
</script>

<style>
</style>